<?php
	session_start();
	$cart=$_SESSION['cart'];
	$masp=$_GET['productid'];
	if($masp == 0)
	{
	 unset($_SESSION['cart']);
	}
	else
	{
	unset($_SESSION['cart'][$masp]);
	}
	 header("location:cart.php");
	exit();
	?>